layui.define(['table', 'form', 'admin'], function (exports) {
    var $ = layui.$
        , table = layui.table
        , form = layui.form
        , admin = layui.admin;


    // 使用人数
    table.render({
        elem: '#LAY-usercheckin'
        , url: '/admin/user_checkin/getlist'
        , cols: [[
            {field: 'id', width: 100, title: 'ID'}
            , {field: 'stt_date', title: '统计时间', width: 120}
            , {field: 'time_1', title: '签到1次'}
            , {field: 'time_2', title: '签到2次'}
            , {field: 'time_3', title: '签到3次'}
            , {field: 'time_4', title: '签到4次'}
            , {field: 'time_5', title: '签到5次'}
            , {field: 'time_6', title: '签到6次'}
            , {field: 'time_7', title: '签到7次'}
            , {field: 'over_time_8', title: '签到8次及以上'}
        ]]
        , page: true
        , limit: 20
        , height: 'full-140'
        , text: '对不起，加载出现异常！'
        , even: true
    });

    exports('user_checkin', {})
});
